package com.hh.goodsmanage.bean;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.hh.hibernate.dao.inf.Order;
import com.hh.hibernate.util.base.BaseTwoEntity;

@Entity
@Table(name = "GOODS_GOODSMANAGE_OUT_BUYERS")
@Order
public class GoodsmanageOutBuyers extends BaseTwoEntity {
	private String buyersName;
	private String remark;
	// private int totalPrice;
	private Date outGoodsDate;

	@Column(length = 2048)
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	// @Column(length = 36, name = "TOTAL_PRICE")
	// public int getTotalPrice() {
	// return totalPrice;
	// }
	//
	// public void setTotalPrice(int totalPrice) {
	// this.totalPrice = totalPrice;
	// }

	@Column(name = "BUYERS_NAME")
	public String getBuyersName() {
		return buyersName;
	}

	public void setBuyersName(String buyersName) {
		this.buyersName = buyersName;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "OUT_GOODS_DATE")
	public Date getOutGoodsDate() {
		return outGoodsDate;
	}

	public void setOutGoodsDate(Date outGoodsDate) {
		this.outGoodsDate = outGoodsDate;
	}
}